﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Twodi.Script
{
    public partial class ScriptForm : Form
    {
        public ICommanded Commanded { get; set; }

        public ScriptForm(ICommanded commanded)
        {
            this.Commanded = commanded;
            InitializeComponent();
        }

        private void btnSend_Click(object sender, EventArgs e)
        {
            Commanded.Command = txtScript.Text;
        }
    }
}
